From: Debian Science Maintainers Date: Wed, 8 Apr 2026 14:43:38 +0000 (+0200) Subject: Fix development header on loong64 with respect to missing _Float16 type X-Git-Tag: archive/raspbian/0.3.32+ds-5+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:sonu.itbhu%40googlemail.com//%22mailto:i18n-csb%40linuxcsb.org/%22/%22http:/www.example.com/%22mailto:sonu.itbhu%40googlemail.com/%22mailto:i18n-csb%40linuxcsb.org/%22?a=commitdiff_plain;h=f89bfbfd97f2fa11129eb50018d8383240cd2f10;p=openblas.git Fix development header on loong64 with respect to missing _Float16 type Origin: upstream, https://github.com/OpenMathLib/OpenBLAS/commit/2671786e61325a97b87dbe1a2cdd8abb74486498 Bug: https://github.com/OpenMathLib/OpenBLAS/issues/5714 Reviewed-by: Sébastien Villemot Last-Update: 2026-04-07 Last-Update: 2026-04-07 Gbp-Pq: Name _Float16-loong64.patch --- diff --git a/openblas_config_template.h b/openblas_config_template.h index 1735fdd..660a7da 100644 --- a/openblas_config_template.h +++ b/openblas_config_template.h @@ -40,7 +40,7 @@ typedef uint16_t bfloat16; #endif #if defined(__GNUC__) && (__GNUC__ > 12) -#if defined(OPENBLAS_ARCH_POWER) +#if defined(OPENBLAS_ARCH_POWER) || defined(OPENBLAS_ARCH_LOONGARCH64) typedef bfloat16 hfloat16; #else typedef _Float16 hfloat16;